/* Estilo para los párrafos */
p {
  color: red;
}

/* Estilo aplicado cuando se usa la clase "test" */
.test {
  color: green;
}

/* Estilo general para todos los párrafos (si no tienen otra clase específica) */
p {
  color: red;
}


#demo {color: blue;}
.test {color: green;} 
p {color: red;} 


#demo {color: blue;}
.test {color: green;} 
p {color: red;}

h1 {background-color: yellow;}
h1 {background-color: red;}

div#myDiv {background-color: green;}
#myDiv {background-color: yellow;}
div[id=myDiv] {background-color: blue;}

.intro {background-color: yellow;}
h1 {background-color: red;}

* {background-color: yellow;}
h1 {background-color: red;}